<!--  -->
<template>
  <div>
    <!-- 显示js课程和php课程 -->
    <router-link to="/kecheng/kejs" active-class="active">js课程</router-link>&emsp;
    <!-- 课程 -->
    <router-link to="/kecheng/kephp" active-class="active">php课程</router-link>

    <!-- 二级路由显示出口 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "Kecheng",
  data() {
    return {};
  },

  components: {},

  computed: {},

  mounted() {},

  methods: {},
  watch: {},
  mixins: [],
};
</script>
<style scoped>
a {
  display: inline-block;
  width: 100px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border: 1px solid lightcoral;
}
</style>
